//
//  Book.h
//  奇阅
//
//  Created by 奇阅科技 on 14-10-21.
//  Copyright (c) 2014年 奇阅科技. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Book : NSObject
///作品的ID
@property (nonatomic, strong) NSString *articleid;
///作者
@property (nonatomic, strong) NSString *author;
///作品标题（名称）
@property (nonatomic, strong) NSString *title;
///作品封面
@property (nonatomic, strong) NSString *imagefname;
///作品简介
@property (nonatomic, strong) NSString *bookAbout;
///作品评论数
@property (nonatomic, strong) NSString *bookCommentNum;
+(Book *)getFromDict:(NSDictionary *)dict;
///移动基地解析
+(Book *)getFromYiDongDict:(NSDictionary *)dict;
///从搜索结果获取
+(Book *)getFromSearchDict:(NSDictionary *)dict;
///移动基地的搜索解析
+(Book *)getFromYiDongSearchDict:(NSDictionary *)dict;
///更新 数据
-(void)upDateNew:(Book *)newBook;
///更新书的封面图片
//-(void)updateImagefname:(NSString *)imagefname;
@end
/*
 @property (nonatomic, strong) NSString *articleid;      //作品的ID
 @property (nonatomic, strong) NSString *author;         //作者
 @property (nonatomic, strong) NSString *sortname;       //分类名称
 -@property (nonatomic, strong) NSString *wordtotal;      //数据库字数统计 1387680
 -@property (nonatomic, strong) NSString *word_format;    //显示的字数统计 如139万
 -@property (nonatomic, strong) NSString *totalviews;
 @property (nonatomic, strong) NSString *price;          //价格
 @property (nonatomic, strong) NSString *finishflag;     //完结标志
 @property (nonatomic, strong) NSString *title;          //作品标题（名称）
 -@property (nonatomic, strong) NSString *voters;
 @property (nonatomic, strong) NSString *bookAbout;      //作品简介
 -@property (nonatomic, strong) NSString *book_logo;      //作品封面
 -@property (nonatomic, strong) NSString *textcount;      //章节统计
 -@property (nonatomic, strong) NSString *free_textcount; //免费章节统计
 -@property (nonatomic, strong) NSString *authorid;       //作者ID
 -@property (nonatomic, strong) NSString *source;         //作品来源
 -@property (nonatomic, strong) NSString *baoyue_readable;//判断包月是否可读
 -@property (nonatomic, strong) NSString *first_vip_chapter_displayorder;//第一个VIP章节
 -@property (nonatomic, strong) NSString *first_chapter_id;//第一个章节ID
 -@property (nonatomic, strong) NSString *first_chapter_is_vip;//第一个章节是否是VIP
 -@property (nonatomic, strong) NSString *is_fence;       //默认0
 -@property (nonatomic, strong) NSString *is_zongce;      //默认0
 -@property (nonatomic, strong) NSString *lastUpdateInfo; //获取文章的普通章节最近更新
 -@property (nonatomic, strong) NSString *textid;         //章节ID
 -@property (nonatomic, strong) NSString *is_vip;         //是否是VIP
 -@property (nonatomic, strong) NSString *order;          //章节排序ID
 -@property (nonatomic, strong) NSString *chapter_title;  //章节标题
 -@property (nonatomic, strong) NSString *update_time;    //章节更细时间
 +@property (nonatomic, strong) NSString *imagefname;     //作品封面

 */